Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
93% Quality Score
Upvotes Received
15
Posts with Upvotes
15
Upvoting Members
11
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
2 Commented Posts
0 Endorsements
Ranked #530
~49.1K People Reached
About Me

Newspaper Driver

Interests
Pokemon,naruto,Scfi
Favorite Tags

155 Posted Topics

Member Avatar for vbala2k5
Member Avatar for Tsakaki

I make a new css include your xsl red color i make my css green color make xsl better with-param kn define which node will displayed and with-param where define which column it is [CODE] <?xml version="1.0" encoding="utf-8"?> <!-- DWXMLSource="books.xml" --> <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> <!ENTITY copy …

Member Avatar for Reverend Jim
0
1K
Member Avatar for krofox

Hello unprecedented way Your Probelm is handling namespace to you shall define a namespace and then start with XPath example from Google XML file xmlns = "http://www.theIMO.com/schema" So give to name as a parameter http://www.theIMO.com/schema or as a variable ns1 = "http://www.theIMO.com/schema" I choose the second path so should be …

Member Avatar for xml_looser
0
378
Member Avatar for gokulak
Member Avatar for Shetty_1

use xslt xsl file <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output indent="yes" method="xml" omit-xml-declaration="no"/> <xsl:template match="/"> <root> <xsl:apply-templates select="root/ScanRejected"/> </root> </xsl:template> <xsl:template match="ScanRejected"> <xsl:variable select="position()" name="pos"/> <Tran> <!-- <pos> <xsl:value-of select="$pos"/> </pos> --> <TranName> <xsl:value-of select="EventID"/> </TranName> <CardNumber> <xsl:value-of select="../CardSupplier[$pos]/CardNumber"/> </CardNumber> </Tran> </xsl:template> </xsl:stylesheet> your xml fil must be xml rules …

Member Avatar for xml_looser
0
393
Member Avatar for computerbear

[CODE] <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!-- ScanMaster and DigiCamFAQ --> <!-- Teddi Moon --> <!-- December 6, 2010 --> <?xml-stylesheet type="text/css" href="jw.css" ?> <FAQ> <title>Jackson Electronic Products</title> <subtitle>Frequently Asked Questions</subtitle> <products> <product/> <model>The ScanMaster</model> <question>How do I scan slides?</question> <answer> <![CDATA[ You can scan slides using the JE Transparency …

Member Avatar for Squiva
0
309
Member Avatar for nikc121

in team strom 6 player define is wrong dtd discribe 5 player in team Lightning Hoopsters Jaguars tag logo is not declared you in dtd make ? so discribed 0 or 1 [CODE] <!ELEMENT League (Team+)> <!ATTLIST League LName CDATA #IMPLIED> <!ELEMENT Team (Team_Name, City, [COLOR="Red"]Logo?[/COLOR], Players+)> <!ELEMENT Team_Name (#PCDATA)> …

Member Avatar for efremmc1
0
246
Member Avatar for sarathcd

I use param to the outside to control xslt The first parameter indicates the length of a string The second parameter is the string being searched by specifying and not (preceding-sibling:: Child [substring (.,1,$length) = $alpha] only the first matching child node appears [CODE] <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output …

Member Avatar for Maruli
0
832
Member Avatar for chavsh

<?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output indent="yes"/> <xsl:template match="/"> <root> <xsl:apply-templates select="a"/> </root> </xsl:template> <xsl:template match="a"> <xsl:apply-templates select="b"/> </xsl:template> <xsl:template match="b"> <xsl:apply-templates select="c"/> </xsl:template> <xsl:template match="c"> <xsl:apply-templates select="d1[@att2][ position()=1]" mode="a"> <xsl:with-param name="kn" select="d1[@att2]"/> </xsl:apply-templates> <xsl:apply-templates select="d1[not(@att2)]"/> </xsl:template> <xsl:template match="d1"> <a> <b> <c> <d1> <xsl:value-of select="."/> </d1> </c> </b> </a> </xsl:template> …

Member Avatar for xml_looser
0
149
Member Avatar for Nagarajan_1

use [] bracket as if <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output indent="yes"/> <xsl:template match="/"> <root> <xsl:apply-templates select="a"/> </root> </xsl:template> <xsl:template match="a"> <xsl:apply-templates select="b"/> </xsl:template> <xsl:template match="b"> <xsl:apply-templates select="c"/> </xsl:template> <xsl:template match="c"> <xsl:apply-templates select="d1[@att2][ position()=1]" mode="a"> <xsl:with-param name="kn" select="d1[@att2]"/> </xsl:apply-templates> <xsl:apply-templates select="d1[not(@att2)]"/> </xsl:template> <xsl:template match="d1"> <a> <b> <c> <d1> <xsl:value-of select="."/> …

Member Avatar for xml_looser
0
238
Member Avatar for Anitha14

[xml rules](http://www.w3schools.com/xml/xml_syntax.asp) so must xml <?xml version="1.0"?> <topnode> <viewentry position="1" children="2"> </viewentry> <viewentry position="1.1" children="1" response="true"> </viewentry> <viewentry position=" 1.1.1" response="true"> </viewentry> <viewentry position="2" children="1"> </viewentry> <viewentry position="2.1" response="true"> </viewentry> </topnode> [xpath](http://www.w3schools.com/XPath/) xpath is the way attribute is addressed using @ to start i using xsl <?xml version="1.0"?> <xsl:stylesheet version="1.0" …

Member Avatar for Anitha14
0
282
Member Avatar for damn_1
Member Avatar for xml_looser
0
152
Member Avatar for Tsukamoto Kyoko
Member Avatar for naomimoogle

I do not know where the node employee details coming from. is the best way to solve each node, and then select the value and or attribute specify do not think like a programmed but for node node respond and evaluate <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output indent="yes" omit-xml-declaration="yes" method="xml"/> …

Member Avatar for xml_looser
0
292
Member Avatar for chaitu11

I do not know whether is in your server php online learn to use php sandbox [Click Here](http://sandbox.onlinephpfunctions.com/) without the php tag for($a=0; $a<10; $a++) { for($b=0; $b<10; $b++) { echo $a.$b."<br>\n"; } } your grind count on 0 to 99 00<br> 01<br> 02<br> 03<br> 04<br> 05<br> 06<br> 07<br> 08<br> …

Member Avatar for AndrisP
0
226
Member Avatar for Big-D2xL

a result which I mean to output xml I gave you an example generated think of namespace <?xml version="1.0" encoding="ISO-8859-1"?> <!-- DWXMLSource="fotografiasXML.xml" --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:a="http://www.dei.isep.ipp.pt/lprog"> <xsl:output method="xml" indent="yes" encoding="ISO-8859-1"/> <xsl:template match="a:Albuns"> <xsl:apply-templates select="a:Album"/> </xsl:template> <xsl:template match="a:Album"> <xsl:apply-templates select="a:Fotografias"/> </xsl:template> <xsl:template match="a:Fotografias"> <xsl:copy-of select="a:Fotografia"/> </xsl:template> </xsl:stylesheet>

Member Avatar for Big-D2xL
0
489
Member Avatar for yashc
Member Avatar for george08.08
Member Avatar for Charles_8

tag name never use with xml injury of the xml rule use [] as an if statement var[@name='NumFTokens'] so you can search for the name and then get the value sample <?xml version="1.0" encoding="UTF-8"?> <ROOT> <VARIABLES> <var name="LoginUUID" value="F85373F9-00C4-7982-E043-AB7412ACA458"/> <var name="FExists" value="0"/> <var name="NumFTokens" value="0"/> <var name="NumPTokens" value="9"/> <var name="purchaseOptions_Poductname1" …

Member Avatar for Charles_8
0
141
Member Avatar for george08.08

with the help of xpath function and templates one can modify the result XML an example <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>books</title> </head> <body> <h2>Books and Their Readers</h2> <p>Total Yound Readers<xsl:text> - </xsl:text><xsl:value-of select="sum((//young_readers)[.!=''])"/></p> <p>Total Older Readers<xsl:text> - </xsl:text><xsl:value-of select="sum((//older_readers)[.!=''])"/></p> <p>Grand …

Member Avatar for george08.08
0
279
Member Avatar for adam123456789

in the first xquery query an error is included substring-before and substring-after only possess maximum of 2 arguments then from the query substring-after (substring-before (/ / ul [@ id = 'biblio'] / li [3], ']'), '[') as an example <? xml version = "1.0"?> <root> <ul id="biblio"> <li> </ li> …

Member Avatar for xml_looser
0
240
Member Avatar for Garidius

do not use for each use the template <?xml version="1.0" encoding="UTF-8"?> <doc-master:DOCMASTER1 xmlns="http://www.xyz.com/DOC-MASTER-1" xmlns:doc-master="http://www.xyz.com/DOC-MASTER-1" xmlns:sub-doc="http://www.xyz.com/sub-doc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xyz.com/DOC-MASTER-1 DOC-MASTER.xsd"> <DOCHEADER> <InitialHour>15:22:01</InitialHour> <Code>RTPPD</Code> <Release>G5.3</Release> </DOCHEADER> <AMBic> <BicCode>87637-YTIT672-12</BicCode> <URMs>778-00012</URMs> </AMBic> <AMBic> <BicCode>87637-YTIT672-12</BicCode> <URMs>778-00012</URMs> </AMBic> </doc-master:DOCMASTER1> <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc-master="http://www.xyz.com/DOC-MASTER-1"> <xsl:output indent="yes" method="html"/> <xsl:template match="/"> <html> <table border="soldid red"> <xsl:apply-templates select="doc-master:DOCMASTER1"/> </table> …

Member Avatar for Garidius
0
378
Member Avatar for suburbios0

<?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output indent="yes"/> <xsl:template match="/"> <destinations> <xsl:apply-templates select="agency/destinations"/> </destinations> </xsl:template> <xsl:template match="destinations"> <xsl:apply-templates select="destination"/> </xsl:template> <xsl:template match="destination"> <xsl:variable name="id" select="@id"/> <destination> <xsl:attribute name="id"> <xsl:value-of select="@id"/> </xsl:attribute> <xsl:apply-templates select="../../traveler[./trip/itinerary/@destination = $id]"> <xsl:with-param name="id" select="$id"/> </xsl:apply-templates> </destination> </xsl:template> <xsl:template match="traveler"> <xsl:param name="id"/> <xsl:if test="../traveler/trip/itinerary/@destination=$id"> <trip> <xsl:attribute name="start"> <xsl:value-of …

Member Avatar for xml_looser
0
340
Member Avatar for Vishwanath_1

Each xml file must have a root node, this is a xml condition xpath but can also be wendt without root knot [Click Here](http://www.w3schools.com/XPath/xpath_examples.asp) tutorial [Click Here](http://zvon.org/xxl/XPathTutorial/Output/examples.html) example5 [Click Here](http://zvon.org/xxl/XPathTutorial/Output/example5.html) example6 [Click Here](http://zvon.org/xxl/XPathTutorial/Output/example6.html) without rootnode //book[@id="bk201"]/author result <author>Gambardella, Matthew</author> I hope this helps

Member Avatar for xml_looser
0
1K
Member Avatar for barakros
Member Avatar for barakros
1
341
Member Avatar for aplh_ucsc

without For-each [CODE] <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/> <xsl:template match="/"> <html> <title>Students</title> <style type="text/css"> table { width:100%; /*background-color:#9acd32;*/ /*border-collapse:collapse;*/ } tr { background-color:#9acd32; /*border-collapse:collapse;*/ } table,th,td { border: 2px solid black; margin:2px; } td { width:20%; background-color:#e6e6e6; padding:30px; text-align:center; }</style> <xsl:apply-templates select="UCSC"/> </html> </xsl:template> <xsl:template …

Member Avatar for f-aplh
0
149
Member Avatar for trady

do not think as programmers the loops are therefore not necessary think in terms of how it was developed template xslt Use only the nodes where the information is contained <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="text" indent="no"/> <xsl:template match="/"> <xsl:apply-templates select="child::*//jobs"/> </xsl:template> <xsl:template match="jobs"> <xsl:value-of select="position()"/> <xsl:apply-templates …

Member Avatar for xml_looser
0
140
Member Avatar for Naggelos
Member Avatar for jashbela

For the most part, ID is used primarily by programs or scripting languages that process the document. The value for ID must be a valid XML name beginning with a letter and containing alphanumeric characters or the underscore character without any whitespace.

Member Avatar for jashbela
0
847
Member Avatar for anandunics

xml and xsl, it is possible to generate the data from a table or even whole html pages each XML document has a [COLOR="Red"]rootnode[/COLOR] [CODE] <?xml version="1.0" encoding="utf-8"?> <!-- xml direkt with css <?xml-stylesheet type="text/css" href="style1.css"?> --> <!-- hmtl code is descript --> <?xml-stylesheet type="text/xsl" href="display.xsl"?> <root> <title>Mathematics for computing</title> …

Member Avatar for anandunics
0
1K
Member Avatar for michele_muc

is in the xml xsl transformation found no error where should come from the 10 in the xml is to find a 10 and it will not be charged in der xml xsl umwandlung ist kein fehler zu finden wo soll die 10 herkommen in der xml ist kein 10 …

Member Avatar for michele_muc
0
235
Member Avatar for sudheer2250
Member Avatar for anandunics

xsd is a way around the content and structure of XML to describe this has nothing to do with the conversion to html

Member Avatar for mraheel
0
323
Member Avatar for ben317

please show the orignal xml file and use not for-each think in template

Member Avatar for xml_looser
0
179
Member Avatar for smandape

i have problem with your xml my parser have porblem with &db in [CODE] <dcterms:URI rdf:about="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve[COLOR="Red"]&db[/COLOR]=pubmed&dopt=Abstract&list_uids=17477949"/> [/CODE]

Member Avatar for smandape
0
353
Member Avatar for xsltnewbie

this is only possible with xsl parser support EXSLT not so microsoft products better not use xml tag as name xsl [CODE] <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:datetime="http://exslt.org/dates-and-times" exclude-result-prefixes="datetime"> <xsl:output indent="yes" method="xml"/> <xsl:template match="/"> <MYOWNTAG1> <xsl:variable name="dateandtime"> <xsl:value-of select="datetime:dateTime()"/> </xsl:variable> <CURRENTDATE> <xsl:value-of select="substring-before($dateandtime,'T')"/> </CURRENTDATE> <CURRENTTIME> <xsl:value-of select="substring-after(substring-before($dateandtime,'+'),'T')"/> </CURRENTTIME> </MYOWNTAG1> …

Member Avatar for xml_looser
0
134
Member Avatar for sireesha g

You do not need a loop You have to be sure in [COLOR="Green"]which node you are and then use sum[/COLOR] or [COLOR="Red"]use variable[/COLOR] [CODE] <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> [COLOR="Red"]<xsl:variable name="sumall" select="sum(columns//column/attributes/attribute[name='width']/value)"/>[/COLOR] <result> <item> <xsl:apply-templates select="columns"/> </item> <item> <xsl:value-of select="$sumall"/> </item> </result> </xsl:template> [COLOR="Green"]<xsl:template match="columns"> <xsl:value-of select="sum(//column/attributes/attribute[name='width']/value)"/> </xsl:template>[/COLOR] …

Member Avatar for xml_looser
0
629
Member Avatar for sireesha g
Member Avatar for sireesha g

you modify xml with xslt to html so you can use javascript to controlled the xml output in html code

Member Avatar for xml_looser
0
158
Member Avatar for Stew007

if in RemovedMeterRegisters is worth one and is also unique is NewMeterRegisters then you can do the following [CODE] count(//@MeterCategoryCode[contains(.,'RM067')]) [/CODE] is the result of 1 or 0, there is the desired value is zero or no time if that result is greater than 1 then the value sought more …

Member Avatar for xml_looser
0
121
Member Avatar for tequila1

[CODE] <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns2="http://www.yxz.com/PrcWs" xmlns:ns3="http://www.yxz.com/Prc" xmlns:a="http://www.yxz.com/global"> <xsl:output indent="yes" method="html"/> <xsl:template match="/"> <html> <style type="text/css">table{ border: solid black 2px; margin: 20 px; } th,td{ border: solid black 2px; }</style> <body> <xsl:apply-templates select="ns2:globalResponse"/> </body> </html> </xsl:template> <xsl:template match="ns2:globalResponse"> <xsl:apply-templates select="ns2:Header"/> <xsl:apply-templates select="ns2:Body"/> </xsl:template> <xsl:template match="ns2:Header"> <h1> <xsl:value-of select="a:Operation"/> </h1> …

Member Avatar for xml_looser
0
1K
Member Avatar for anandunics
Member Avatar for sudheer2250

you think as a programming language is an xsl template which can then generate a parser says that if man is valid to a node for testing [CODE] <w:body> <w:tbl> <w:tblPr> <w:tblW w:w="0" w:type="auto"/> <w:tblBorders> <w:top w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/> <w:left w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/> <w:bottom w:val="single" w:sz="4" …

Member Avatar for sudheer2250
0
373
Member Avatar for Kruddler
Member Avatar for malk

use predicate as [COLOR="Green"]if[/COLOR] struxtur so you write xpath as [CODE] /root/node1/node2/employees[COLOR="Green"][@name='employeeA'][/COLOR]/@value [/CODE]

Member Avatar for xml_looser
0
80
Member Avatar for zifina

help the user schema describes the structure of the medium and the content of xml file this man need no additional programming required to operate [URL="http://www.xml.com/pub/a/2000/11/29/schemas/part1.html"]http://www.xml.com/pub/a/2000/11/29/schemas/part1.html[/URL] so can create an xsd file [CODE] <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xs:element name="wells"> <xs:complexType> <xs:sequence> <xs:element ref="well"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="well"> …

Member Avatar for xml_looser
0
220
Member Avatar for michele_muc

this not working with browser with xslt2 it is possible to solv this problem

Member Avatar for xml_looser
0
167
Member Avatar for sbutt

only with schema you can get information about the Node when xml ist not valid all agains schema many programming language throw/catch the exeception

Member Avatar for xml_looser
0
143
Member Avatar for jaango123

use in the sylesheet line exclude-result-prefixes="v1 v12 v11" then will delete the name space see here [URL="http://www.daniweb.com/software-development/xml-xslt-and-xpath/threads/361811"]http://www.daniweb.com/software-development/xml-xslt-and-xpath/threads/361811[/URL] see the green text

Member Avatar for xml_looser
0
426
Member Avatar for jaango123

[COLOR="Red"]create your own simpleType[/COLOR] in this type you can define restiction [url]http://www.datypic.com/books/defxmlschema/chapter09.html[/url] [CODE] <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:simpleType name="request_id"> [COLOR="Red"]<xs:restriction base="xs:string"> <xs:enumeration value="DSUPROFILE4REQ"/> </xs:restriction>[/COLOR] </xs:simpleType> <xs:simpleType name="plastic_number"> <xs:restriction base="xs:int"> <xs:enumeration value="1234567890"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="echo_reposition"> <xs:restriction base="xs:byte"> <xs:enumeration value="0"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="echo_common"> <xs:restriction base="xs:string"> <xs:enumeration value="A"/> </xs:restriction> </xs:simpleType> …

Member Avatar for xml_looser
0
145

The End.