Sponsored Content
The Lounge What is on Your Mind? Status of UNIX.COM Forum Transformation Post 303024944 by Neo on Saturday 20th of October 2018 08:59:31 AM
Old 10-20-2018
Slightly rearranged.

Image
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Unix port status

disregard solved (0 Replies)
Discussion started by: calamine
0 Replies

2. Shell Programming and Scripting

file name transformation

I've got a multitude of text data files that carry exactly the same kind of data. Unfortunately some of them have a different filename format some are: 'category'_'month'-'year'_act.txt an example being: daf_Apr-1961_act.txt and some are: 'category'_ 'year'-'month'_act.txt an... (16 Replies)
Discussion started by: vrms
16 Replies

3. Shell Programming and Scripting

XML to csv transformation

Hi, I want to write a perl script. Which should accept the xml file, one xsl file and the loaction. The perl script should process the xml file using the xsl file and puts the out put in specified location. For example: My.perl is perls cript. my.xml is like this <?xml version="1.0"... (2 Replies)
Discussion started by: siba.s.nayak
2 Replies

4. Shell Programming and Scripting

xslt transformation through Unix

Hi .. I have one input XML and I want to convert into another XML using parameter mapping through Database through Unix shell script. But I dont have idea how to do that. And how can I create xsl sheet if mapping is through database tables. Please help me on this. (1 Reply)
Discussion started by: srinu19
1 Replies

5. UNIX for Advanced & Expert Users

Need help in xslt transformation

Hi I have one input xml file <param name="EXTR_COL" valueDesc="AUTHD_RFLL" value="rx.AUTHD_RFLL" /> There is a mapping parameters in Database. if EXTR_COL is present in input XML then it is mapped to fieldlist. so the o/p XML looks like <fieldlist> <datasource... (1 Reply)
Discussion started by: srinu19
1 Replies

6. Programming

Need best forum site for java (as for unix its unix.com)

Hi All, Can anyone help me for knowing the java best side forums. where i will get a quick responce like here , as i am having lot of question. Thanks (1 Reply)
Discussion started by: aish11
1 Replies

7. Shell Programming and Scripting

Data transformation

I do have an input text file of the following format with 1000's of lines input file: 3386(11:11,Ani:0,Bri:1,ch:1,Jwe:0,Jor:0,LP:0,Lo:0,NS:1,al:1,bo:0,boy:0,bru:0,sh:0,cor:1,dum:0,ery:0,mac:0,mic:0)... (3 Replies)
Discussion started by: Kanja
3 Replies

8. What is on Your Mind?

YouTube: Forum Moderation @UNIX.com | The UNIX and Linux Forums

Forum Moderation @UNIX.com | The UNIX and Linux Forums https://youtu.be/WGwgibE4Rq0 Also note: In the video I mentioned removing legacy menu items in the ModCP which are unused. I have already "CSS'ed out" the unused menu items: ... (0 Replies)
Discussion started by: Neo
0 Replies
htmlfix(3)							     EN Tools								htmlfix(3)

NAME
htmlfix - Fixup HTML markup code SYNOPSIS
htmlfix [-o outputfile] [-F fixes] [-S fixes] [-v] [inputfile] DESCRIPTION
The htmlfix program reads inputfile or from "stdin" and performs the following actions (name of each fixup is within parentheses): (imgsize) : Adding WIDTH and HEIGHT attributes to IMG tags For all "IMG" tags which don't already have both "WIDTH" and "HEIGHT" attributes (matched case insensitive), the size of the image (taken from the "SRC" attribute) is determined and the missing ``"width=X"'' and/or ``"height=Y"'' is added to the list of attributes. The intention is to speedup the layouting of the final webpage. Don't intermix this with a size checker: htmlfix will only add missing width/height attributes and don't adjust ones with wrong dimensions. This is because else the user wouln't be able to scale images (used a lot by webdesigners via 1pt dot-images). There is a special case: When the "WIDTH" or "HEIGHT" attribute already exists and has a value of ``"*"'' this asterisk is replaced by the physical value instead of appending a new attribute. Use when you want the attributes at a certain position, i.e. use this variant as a placeholder. HTMLfix supports one additionl feature in conjunction with "WIDTH" and "HEIGHT": "SCALE="factor and "SCALE="percent"%". This can be used to scale the given or determined width and height values by multiplying with factor or multiplying with percent/100. (imgalt) : Adding ALT attribute to IMG tags For all "IMG" tags which don't already have a "ALT" tag an "ALT=""" attribute is added. The intention is to both make HTML checkers like weblint(1) happy and to demystify the final webpage for lynx(1) users. (summary) : Adding SUMMARY attribute to TABLE tags This attribute helps non-visual rendering of tables by adding a hint on its contents, and it makes tidy(1) quiet. (center) : Changing proprietary CENTER tag to standard DIV tag All proprietary (Netscape) "CENTER" tags are replaced by the HTML 3.2 conforming construct ``"<DIV ALIGN=CENTER>"''. (space) : Fix trailing spaces in tags Appendix C of the XHTML Specification recommands putting a space before closing simple tags to help rendering by old browsers. This space is automatically added when this fixup is used. On the other hand, all spaces before a right-angle bracker are suppressed. (quotes) : Adding missing quotes for attributes All attributes of the form ``"...=xyz"'' are replaced by ``"...="xyz""''. Furthermore all (color) attributes of the form ``"...="XXYYZZ""'' (XX,YY,ZZ elements of set {0,..,9,a,..,f} are fixed to ``"...="#XXYYZZ""''. (indent) : Indenting paragraphs Paragraphs enclosed in "<indent [num=N] [size=S]>"..."</indent>" containers are indented by N*S spaces. When N=0 then the whitespace block in front of the paragraph is removed. Default is a 4 space indentation (N=1, S=4). (comment) : Out-commenting tags Sometimes it is useful to temporarily out-comment a tag instead of completely removing it. This can be done by just adding a sharp (``"#"'') character directly to the end of the tagname. The result is that the complete tag is commented out. For container-tags you have to comment out the end-tag explicitly, too. Example: ``<"a# href="..."">''. (tagcase) : Markup-code case-conversion Some people like their HTML markup code either to be all uppercase or all lowercase. This tag case-conversion is supported by the internal "<tagconv case=...>"..."</tagconv>" container tag from HTMLfix. Use "case=upper" to translate the HTML tags in its body to uppercase (default) or "case=lower" to translate them to lowercase. OPTIONS
-o outputfile This redirects the output to outputfile. Usually the output will be send to "stdout" if no such option is specified or outputfile is ""-"". -F fixes This option specifies which specifix fixups are performed. Its argument is a comma separated list of fixup names, and by default all fixups are performed. -S fixes This option does the inverse job, it skips specified fixups. -v This sets verbose mode where some processing information will be given on the console. AUTHORS
Ralf S. Engelschall rse@engelschall.com www.engelschall.com Denis Barbier barbier@engelschall.com EN Tools 2014-04-16 htmlfix(3)
All times are GMT -4. The time now is 07:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy