Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 16 of 16
Search took 0.01 seconds.
Search: Posts Made By: ilyaz
Forum: XML May 9th, 2011, 02:34 PM
Replies: 1
Views: 555
Posted By ilyaz
XSD newbie: need help finding resources to address specific need

I need to create my first XSD definition for a sample XML document. It has the following structure:
- It's a hierarchy of elements called containers of 4 types: Box -> Folder -> Doc -> Page.
- XML...
Forum: XSLT February 22nd, 2011, 05:03 PM
Replies: 3
Views: 886
Posted By ilyaz
Sam, thanks, it mostly worked. Here's what my s/s...

Sam, thanks, it mostly worked. Here's what my s/s looks like now:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
...
Forum: XSLT February 16th, 2011, 04:11 PM
Replies: 3
Views: 886
Posted By ilyaz
Adding element at different levels of hierarchy

I need to transform a bunch of XMLs that have the following structure: each has an element called "container" of type "Box" which has a sub-element "container" of type "Folder" and it has another...
Forum: XSLT February 15th, 2011, 04:01 PM
Replies: 3
Views: 2,271
Posted By ilyaz
Martin, Thanks for the link. I have a...

Martin,

Thanks for the link. I have a follow-up question, though. From what I've read, this seems to require calling XSLT from .NET code, which would in turn call a .NET method (public double...
Forum: XSLT February 15th, 2011, 11:06 AM
Replies: 3
Views: 2,271
Posted By ilyaz
Adding GUIDs to XML: XSLT or some other means?

I have a collection of hierarchical XML files that looks like this:


<container type="Box" >
<property name="BoxName">Name of box</property>
<container type="Folder">
<property...
Forum: XSLT December 14th, 2010, 12:29 PM
Replies: 11
Views: 3,857
Posted By ilyaz
yes! thank you! I was by mistake writing output...

yes! thank you! I was by mistake writing output into the input folder. It all works now.
Forum: XSLT December 14th, 2010, 11:33 AM
Replies: 11
Views: 3,857
Posted By ilyaz
At this point I have the following Xform: ...

At this point I have the following Xform:


<xsl:transform
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
version="2.0"
...
Forum: XSLT December 13th, 2010, 01:46 PM
Replies: 11
Views: 3,857
Posted By ilyaz
Michael, When I ran it like this: ...

Michael,

When I ran it like this:


Transform.exe -xsl:myXform.xsl -it:main -o:"C:\Data\XMLout"


I got
Forum: XSLT December 13th, 2010, 12:21 PM
Replies: 11
Views: 3,857
Posted By ilyaz
Yes Single output is enough. If I can...

Yes



Single output is enough. If I can avoid creating the individual output files I am creating now that would be great. If I have to do it in a two-step process, that's fine too.
Forum: XSLT December 13th, 2010, 11:30 AM
Replies: 11
Views: 3,857
Posted By ilyaz
Sorry for being slow, but I need this to be...

Sorry for being slow, but I need this to be spelled out for me in more detail.

-----

Now I have an input folder "c:/data/XMLin" that contains a bunch of source XML files. I also have an XSL...
Forum: XSLT December 13th, 2010, 01:41 AM
Replies: 11
Views: 3,857
Posted By ilyaz
how to produce single output from multiple sources?

I have a set of source XML files FILE1, ..., FILEn that I am converting using XSLT to another set of XML files. Each resulting file has the following structure:


<?xml version="1.0"...
Forum: XSLT December 10th, 2010, 04:36 PM
Replies: 1
Views: 2,307
Posted By ilyaz
Can I pass parameter from command line to use inside transform?

I am using Saxon to do XML-to-XML conversion from command line. Is there any way of passing a parameter from the command line to be used by the transform? For instance, suppose I have the following...
Forum: XSLT December 10th, 2010, 12:22 PM
Replies: 5
Views: 873
Posted By ilyaz
OK, let me give you the complete source XML. What...

OK, let me give you the complete source XML. What I called words before are actually called tokens and sentences are now namedEntities but the idea is still the same.

1. Here's the source XML:
...
Forum: XSLT December 10th, 2010, 11:48 AM
Replies: 5
Views: 873
Posted By ilyaz
Sam, thanks. One more change -- an error on my...

Sam, thanks. One more change -- an error on my part. The word section is actually encapsulated by a "words" element, i.e.


<words>
<word id=1>
...
</word>
...
</words>
Forum: XSLT December 9th, 2010, 06:18 PM
Replies: 5
Views: 873
Posted By ilyaz
proper use of xsl:key?

Suppose I have the following collection of "word" elements:


<word>
<id>1</id>
<text>My</text>
</word>
<word>
<id>2</id>
<text>name</text>
Forum: XSLT December 9th, 2010, 04:22 PM
Replies: 1
Views: 2,345
Posted By ilyaz
MSXSL gives error message for "for" inside "select"

I have the following segment inside my XSLT transform:

<property name="Value"><xsl:value-of select="for $index in ...

msxsl.exe produces the following error:

Code: 0x80004005
Expected token...
Showing results 1 to 16 of 16

 


All times are GMT -4. The time now is 10:16 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.