I am having xml document as below.
<transactionid>
00
</transactionid>
<tracknumber>
0
</tracknumber>
<key>
N/A
</key>
But the data contains leading and trailing spaces between the tags. Please let me know how can i remove these leading and trailing spaces between the tags.... (2 Replies)
I have set of sources and the respective resolution. Please advice how to resolve the same using Unix shell scripting.
Source 1:
=======
<ext:ContactInfo xmlns:ext="urn:AOL.FLOWS.Extensions">
<ext:InternetEmailAddress>AOL@AOL.COM</ext:InternetEmailAddress>
</ext:ContactInfo>
Resoultion... (1 Reply)
hey guys, i have an XML like this:
<documents>
<document>
<Object ID>100114699999</Object ID>
<Object Create Date Time>2008-04-07T00:00:00</Object Create Date Time>
</document>
<documents>
I need all my tags within the XML to not include any spaces. i.e. everything between <t a g> in... (8 Replies)
Hi,
I have a input xml file like this
<postalAddress:>379 PROSPECT ST </postalAddress:>
<street:>STE B </street:>
<l:>TORRINGTON </l:>
<st:>CT</st:>
<postalCode:>067905238</postalCode:>... (5 Replies)
i have a file like this
1111_2222#$#$dudgfdk
11111111_343434#$#$334
1111_22222#43445667
i want to remove all those charachetrs from #
how can i do this
Thank in advance
Saravanan (4 Replies)
Ok, i have a .kml file that that i want to trim down and get rid of the rubbish from. its formatted like so:
<Placemark>
<name><!]></name>
<description><!</b><br/>Frequency: <b>2437</b><br/>Timestamp: <b>1304892397000</b><br/>Date: <b>2011-05-08... (11 Replies)
Hi All,
I'm stuck with adding multiple lines(irrespective of line number) to a file before a particular xml tag. Please help me.
<A>testing_Location</A>
<value>LA</value>
<zone>US</zone>
<B>Region</B>
<value>Russia</value>
<zone>Washington</zone>
<C>Country</C>... (0 Replies)
hi,
i need to remove the extra spaces in the filed.
Sample:
abc~bd ~bkd123 .. 1space
abc~badf ~bakdsf123 .. 2space
abc~bqed ~bakuowe .. 3space
output:
abc~bd ~bkd123 .. 1space
abc~badf~bakdsf123 .. 2space
abc~bqed~bakuowe .. 3space
i used the following command, (2 Replies)
hi,
i need to remove the extra spaces in the 2nd field.
Sample:
abc|bd |bkd123 .. 1space
abc|badf |bakdsf123 .. 2space
abc|bqe |bakuowe .. 3space
Output:
abc|bd|bkd123
abc|badf|bakdsf123
abc|bqe|bakuowe
i used the following command, (9 Replies)
I would like produce
blue, green, red, yellowfrom"blue:,*green:,*red:,*yellowI can remove the colon with
echo "blue:,*green:,*red:,*yellow" | sed 's/://g'which givesblue,*green,*red,*yellowbut when I try
echo "blue:,*green:,*red:,*yellow" | sed 's/://g'; 's/*//g'I get bash: s/*//g: No such... (9 Replies)
Discussion started by: Xubuntu56
9 Replies
LEARN ABOUT DEBIAN
xalan
XALAN(1) General Commands Manual XALAN(1)NAME
xalan - Process XML documents with XSLT stylesheets
SYNOPSIS
xalan [options]
DESCRIPTION
Xalan-C++ (named after a rare musical instrument) implements the W3C Recommendation 16 November 1999 XSL Transformations (XSLT) Version 1.0
and the XML Path Language (XPath) Version 1.0. XSLT is the first part of the XSL stylesheet language for XML. It includes the XSL Transfor-
mation vocabulary and XPath, a language for addressing parts of XML documents. For links to background materials, discussion groups, fre-
quently asked questions, and tutorials on XSLT, see Getting up to speed with XSLT.
You use the XSLT language to compose XSL stylesheets. An XSL stylesheet contains instructions for transforming XML documents from one docu-
ment type to another document type (XML, HTML, or other). In structural terms, an XSL stylesheet specifies the transformation of one tree
of nodes (the XML input) into another tree of nodes (the output or transformation result).
OPTIONS
Options are case-sensitive.
-in URL
Sets the input URL. If nothing is set, stdin is used.
-xsl URL
Sets the XSLT sheet URL.
-out file
Sets the output filename.
-v Show version information only.
-qc Quiet pattern conflicts warnings.
-q Use quiet mode.
-indent n
Controls how many spaces to indent. Default is 0.
-validate
Controls whether validation occurs. Validation is off by default.
-tt Trace the templates as they are being called.
-tg Trace each generation event.
-ts Trace each selection event.
-ttc Trace the template children as they are being processed.
-xml Use XML formatter and add XML header.
-text Use simple Text formatter.
-html Use HTML formatter.
-dom Use DOM formatter. Formats to DOM, then formats XML for output.
-xst Use source tree formatter. Formats to Xalan source tree, then formats XML for output.
-param name expression
Sets a stylesheet parameter.
-xd Use Xerces DOM instead of Xalan source tree.
-de Disable built-in extension functions
The following option is valid only with -HTML
-noindent
Turn off HTML indenting.
The following option is valid only with -XML.
-nh Don't write XML header.
AUTHOR
The Apache Software Foundation.
SEE ALSO
http://www.w3.org/TR/xslt
XSL Transformations Version 1.0 (XSLT)
http://www.w3.org/TR/xpath
XML Path Language Version 1.0 (XPATH)
Debian GNU/Linux 2001 XALAN(1)