[ANNOUNCE] Learn XSL by Example
21 Apr 2006 08:46:31 -0700
[Announce]Hey Everyone,
Stylus Studio has just released a new online video tutorial entitled:
An Introduction to XSLT. You can view this free online video tutorial
today at: http://www.stylusstudio.com/videos/xsltedit1/xsltedit1.html
This new video tutorial covers the following topics:
* Using XSL tools ...
|
XSLT: how to add new elements then apply template to these elements
Fri, 21 Apr 2006 09:46:09 -0400
I have xml structure like this:
<tasks>
<task task_id=0 parent_task_id=0 task_name='top task'>
<task task_id=1 parent_task_id=0 task_name='task1'>
<task task_id=2 parent_task_id=0 task_name='task2'>
<task task_id=3 parent_task_id=0 task_name='task3'>
</tasks>
Now I need to add two mo ...
|
<xsl:attribute> w/variable for 'name' attribute?
21 Apr 2006 02:42:28 -0700
Is there anyway to use the contents of a variable as the value of the
'name' attribute of an <xsl:attribute>?
Suppose I have this XML input:
<Foo>
<Bar>Baz</Bar>
</Foo>
What I'd like to generate (ignore any <xs:include> requirements) is:
<xs:element ref="Baz:Baz" xmlns:Baz="A:B:C ...
|
Stripping out extra space around an italic word
21 Apr 2006 01:46:06 -0700
This is my XML file
===================
<list list-type="number">
<list-item>
<label>1. </label><p>They used tall pieces of wood so that the
<emphasis type="italic">fence</emphasis> would keep the dog in the
garden.</p>
<p>Becky used a <emphasis type="italic">blas</emphasis>
(<emphasis type="it ...
|
Classifying a List / Unique Classes
Thu, 20 Apr 2006 13:57:51 -0400
I've got a doc containing a list of books; each book can belong to one or more
"classes":
<doc>
<book title="What is the Name of this Book?">
<class>philosopy</class>
<class>logic</class>
</book>
<book title="Death by XSL">
<class>logic</class>
<class>fiction</class>
</book>
...
|
Hanging on comparitive statements
Thu, 20 Apr 2006 11:42:21 +0200
I have an xsl style sheet with several comparitive statements. Some
seem to be accepted OK ...
e.g. <xsl:if test="1=0">
.... but others (using the 'greater- / less- than' symbol are rejected by
the browser (IE 6.0, sp2) with the message:
The symbol '<' cannot be used with an attribute value. Error ...
|
Loading URL in XSL
19 Apr 2006 12:44:24 -0700
I'm a newbie to XSL so bear with me if this is something simple... In
my application, I am sucking in records from a database and displaying
them on a Web page XML/XSL.
One of the fields in the database is a URL in a field named URL, and I
can retrieve the value and create a hyperlinke like so:
<a><xsl:a ...
|
|
|
document() to call web service method fails.
Wed, 19 Apr 2006 11:01:02 -0700
I have following line in my XSL , which makes a call to web services created
on Intranet and getting back the Well formed HTML, but when I used document()
to call web service I get Translation error but it works fine when I call
document(/abc.xml).
----
<xsl:variable name="newUrl"
select="'http://dev. ...
|
[ANNOUNCE] Document XQuery with Stylus Studio and xqDoc
19 Apr 2006 08:02:40 -0700
[Announce] Hey Everyone,
Stylus Studio has announced that Stylus Studio® 2006 Release 2 XML
Enterprise Edition provides integrated support for xqDoc from directly
within Stylus Studio's XQuery Editor. For more information, visit:
http://www.stylusstudio.com/xquery/xqdoc.html
xqDoc simplifies developers w ...
|
Returning parts of an XHTML file with XSLT
19 Apr 2006 02:40:10 -0700
Is there an XSL Transformation which takes an XHTML file and returns
only part of it? E.g. I feed this XHTML file as input:
<html><head/><body>
<form>
<p>This is a form</p>
</form>
</body>
</html>
and the transformation should return as output all parts, except <form>
tag, E.g. this (note that the c ...
|