This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: capturing variables or not?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: capturing variables or not?
- From: "Medina, Edward" <emedina at btg dot com>
- Date: Wed, 2 Aug 2000 10:02:04 -0400
- Reply-To: xsl-list at mulberrytech dot com
:Hi Edward,
Hello Oliver and you can call me Eddy!
:> (Note: These are over simplified stylesheets, without any of
:the bells and
:> whistles)
:
:I hope your simplification also dropped the namespace declaration.
:The namespace prefix "dppo" must be declared in your XML (preferably
:in the top-level element), e.g.:
:xmlns:dppo="some-URI"
Well I declared the "dppo" in the stylesheet
:> <xsl:stylesheet
:> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
:> version="1.0"
:> xmlns="http://www.w3.org/TR/REC-html40"
:> xmlns:fo="http://www.w3.org/1999/XSL/Format"
:> result-ns="fo"
:> xmlns:dppo="file:/dev/null">
:
:Ok - here is such a declaration.
:But the used namespace "file:/dev/null" must be the same is in your XML
:source!
Yes they do have it buried within the top-element (among many attributes).
:In this case the template with match="dppo:document" will be applied.
So I should be able to match "dppo:document" or any of the other element
nodes and display them properly?
:BTW: what is result-ns? I believe the xsl:stylesheet element doesn't
:have an attribute like this.
I was using for the FO part of xsl but, I should take it out, since I'm not
using it at all right now!
:Hope this helps,
:Oliver
Me too, thanks Oliver.
Eddy
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list