[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

New comer w/ questions

Subject: New comer w/ questions
From: "Frick, Gary" <gary.frick@xxxxxxxxxx>
Date: Fri, 3 Mar 2000 15:07:50 -0800
w questions
Please be gentle this is my first time and I'm also a novice that needs to
ramp up quickly on XML/XSL. 

My problem is that I have a SMALL sample (XML and XSL) files that is formed
correctly, but it won't display anything except the debug markers that show
that I'm getting into particular templates.  The sample files are:

 <<flat2tbl.xsl>>  <<dbpxml.xml>> 

The second question is how to treat NULL characters in my xsl:if statement

The third question is why the debug statement that is talked about in
Microsoft's MSDN library doesn't work as advertised.  All it does is display
the word 'xml'.  Here is the excerpt from the MSDN library.

One of the most frequent errors preventing output is select patterns that
don't match the input data. Fortunately these are also fairly easy to fix.
The debug line added to the example below uses <xsl:eval> to call the xml
method on the current node, outputting the node and its children as
preformatted XML source.
<xsl:template match="address">
    <PRE><xsl:eval>xml</xsl:eval></PRE>
    <xsl:apply-templates select="zipcode"/>
  </xsl:template>
Comparing the actual XML data to the select pattern, spelling mistakes in
element and attribute names can be found; for example, the data could show
"zip-code" or "zipCode" as the correct element name. The context of the
query can be checked-is "zipcode" a child of "address"? And the source data
can also be checked for accuracy-does this "address" have a "zipcode"?



Attachment: flat2tbl.xsl
Description: Binary data

Attachment: dbpxml.xml
Description: Binary data

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.