XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + External Cascading Style Sheet... (2)
-> + Need help with XML mapping - P... (2)
-> + Convert image to base64 in xsl... (2)
-> + Automation (2)
-> - Changing Default Property valu... (1)
-> + Help in reading cdata using xs... (4)
-> + Ok, I can programatically conv... (2)
-> + How do I prevent the previewer... (2)
-> + Can I programatically convert ... (2)
-> + XML To Flat File - Reverse Eng... (3)
-> + Check for valid attribute valu... (3)
-> + Java.lang.OutOfMemory - when I... (3)
-> + How to convert text in EBCDIC ... (8)
-> + First steps in XSLT mapping (4)
-> + Option to build XSL-FO is not ... (3)
-> + using Adaptor convert XML to e... (2)
-> + Using XML Converter on a Compl... (2)
-> + Java built-in processor needed... (3)
-> + XSL to draw a table (2)
-> - Stylus Studio in c# solutions (1)
-> + entities within schemaLocation... (4)
-> + java runtime error during xslt... (2)
-> + Conversion of XML Doc for RSS ... (2)
-> + Does anyone know how to upgrad... (2)
-> + XML editor corrupts my file (5)
-> + Stylus Studio & Berkeley DB XM... (4)
-> + XSLT for page breakout (2)
-> + How to avoid creating empty el... (2)
-> + Error in converting 945 EDI us... (4)
-> + XML to X12 (invoice 810 edi) (2)
-> - Stylus Studio 2009 Enterprise ... (1)
-> + Stylus Studio 2007 - license d... (2)
-> + XML to X12 conversion error (6)
-> + How to reset JVM (to another j... (2)
-> + How to generate XML sample dat... (2)
-> + Document Path reference after ... (4)
-> + concatenate with xquery (6)
-> + i want to capture the xml tag ... (3)
-> + "View Sample XML" in schema an... (2)
-> + Can't get to Toolbar settings ... (2)
-> + SOAPException (3)
-> + how to patch xml files with wr... (2)
-> + wysiwug xslt editor (2)
-> + XML to Google Charts (10)
-> + XML to HL7 (2)
-> - Outputting this XML (1)
-> + Interpreting XSD Error Message... (2)
-> + converter EDI --> typ = no (8)
-> + License issue (7)
-> + One of the simplest questions ... (3)
-> + xQuery transformation encounte... (2)
-> + Schema Evolution (2)
-> + Preview in Browser button gray... (4)
-> + converter:EDI:val=no AND chr=.... (4)
-> + [XQuery][DB2 JDBC Driver]Unsu... (2)
-> + Need Help Create XML file thro... (4)
-> + Flat file to XML conversion in... (5)
-> + How to set delimiters if it's ... (4)
-> + XSD Validation failing (4)
-> + XSD Validation failing (2)
-> + Web Service Call cannot retrie... (7)
-> + Flat file conversion to XML (2)
-> + Stylus Studio crash (5)
-> + Stylus Studio No Longer loads (2)
-> + How do I print in color? (2)
-> + Integrating Documentum WebPubl... (2)
-> + Stylus Studio crashes on openi... (4)
-> + Change format of XML output fo... (3)
-> + XSLT mapper / Source file not ... (7)
-> + Stylus Studio crashes on start... (3)
-> + Loading GML3.1 (3)
-> + NullPointerException when runn... (5)
-> + Can not open Stylus Studio (3)
-> + macros for custom validation e... (6)
-> + Does Stylus Studio generate XM... (4)
-> + another csv conversion (7)
-> + ADD CVS to Source Control drop... (2)
-> + Automate xquery (6)
-> + Correcting multiple XML docume... (2)
-> + Unable to locate Components\Da... (5)
-> + Runtime Error, Struzzo.exe, Ab... (11)
-> + Convert XML to EDIfact (3)
-> + I don't have the Mapper tab (6)
-> + CSV conversion with null field (3)
-> + Converting a Complex Flat File... (2)
-> - installion in batch mode (1)
-> + Complete Custom Validation Lis... (2)
-> + creating xml from csv flat fil... (9)
-> - need Help Regarding XBRL (1)
-> + Exception FODC0004: file or di... (2)
-> + Activation (2)
-> + java runtime error (2)
-> + connection problem with AS 400... (4)
-> + XML to 837I EDI -- multiple NM... (3)
-> + WYSIWYG in SSv7 (2)
-> - Write into < head /> tags us... (1)
-> + Maximum recursion depth exceed... (2)
-> - Code coverage testing (1)
-> - Passing JavaScript with multip... (1)
-> + preserving white space in XML ... (8)
-- Previous [721-740] [741-760] [761-780] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2016)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
tony lattucaSubject: simple explanation on XML and DTD
Author: tony lattuca
Date: 24 Jul 2004 08:32 PM
I usually create VOD files for servers.(movies encoded)
now the company I'm dealing with, there servers want me to fill out
an XML and DTD file. It's like a catolog or general info on the
movie ex: who has the rights, actors, directors, length of movie etc...

I already have a sheet to fill out, is it easy as filling in the blanks?


finally, I received a server error 3004(meaning no metadata present)

is there any way of testing my movie with this software?

sorry to sound confused but the the techs aren't giving me the time
of day!

XML and DTD relationship?

thanks,

Postnext
Ivan PedruzziSubject: simple explanation on XML and DTD
Author: Ivan Pedruzzi
Date: 25 Jul 2004 12:07 PM
Hi Tony

My guess is that you employer should provide a schema file (DTD) that describes how a XML document structure looks like.
Using that schema you should create a XML document with the information required.

Here you can find basic tutorials on

XML
http://www.w3schools.com/xml/default.asp

DTD
http://www.w3schools.com/dtd/default.asp

Hope this helps
Ivan

Postnext
tony lattucaSubject: simple explanation on XML and DTD
Author: tony lattuca
Date: 25 Jul 2004 07:11 PM
So I do have a DTD file, do I fill up the DTD or leave as is?
it also came in with an XML form, is it just fill in the blanks
and save as?

finally, what does this have to do with servers? is like a library
and this is how they call up the movie?

I can email you the XML and DTD file?

thanks

Postnext
tony lattucaSubject: simple explanation on XML and DTD
Author: tony lattuca
Date: 28 Jul 2004 07:54 PM
a great understanding, thanks guys, my client sent me a
DTD file and an XML file(sample). do I have to fill
out the DTD or leave it as is?
this is the DTD:


<!-- DTD for Package-->
<!--Pegasus Asset Distrubution Interface version 1.0-->
<!-- <!ENTITY amp "&#38;#38;"> -->
<!ELEMENT ADI (Metadata, Asset* )>
<!ELEMENT Asset ( Metadata, Asset*, Content?)>
<!ELEMENT Metadata (AMS, App_Data*)>
<!ELEMENT AMS (#PCDATA)>
<!ATTLIST AMS
Asset_Name CDATA #REQUIRED
Provider CDATA #IMPLIED
Product CDATA #IMPLIED
Relative_Path CDATA #IMPLIED
Version_Minor CDATA #REQUIRED
Version_Major CDATA #REQUIRED
Description CDATA #REQUIRED
Creation_Date CDATA #IMPLIED
>
<!ELEMENT App_Data (#PCDATA)>
<!ATTLIST App_Data
App CDATA #REQUIRED
Name CDATA #REQUIRED
Value CDATA #REQUIRED
>
<!ELEMENT Content (#PCDATA)>
<!ATTLIST Content
Value CDATA #REQUIRED

Postnext
tony lattucaSubject: simple explanation on XML and DTD
Author: tony lattuca
Date: 28 Jul 2004 08:50 PM
finally this is the beginning of my XML :

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE ADI SYSTEM 'ADI.DTD'>
<ADI>
<Metadata>

does this means it's associated with a DTD?

thanks

Postnext
(Deleted User) Subject: simple explanation on XML and DTD
Author: (Deleted User)
Date: 28 Jul 2004 09:41 PM
Hi Tony,
from what you wrote I understand that your client wants you to provide
metadata for the video files you produce. This metadata is in the XML
format, and the DTD is specifying how the XML is structured.

So, the DTD is telling that there is a root element, ADI, that has a
subelement Metadata and a list of Asset. The Metadata has the children
AMS and a number of App_Data. Finally, the AMS has a bunch of attributes
carrying the Asset_Name, the Provider, the Product and so on.

You will need from your client more informations about what data you
should enter (e.g. what is supposed to go in the Name/Value pairs of the
App_Data element?), but I can guess you should write an XML file like
this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE ADI SYSTEM 'ADI.DTD'>
<ADI>
<Metadata><AMS Asset_Name="Video file" Provider="Tony"
Product="Video footage" Relative_Path="file.vod" Version_Major="1"
Version_Minor="0" Description="Nice video of falling leaves"
Creation_Date="07/28/04"></AMS>
<App_Data App="Video" Name="Length" Value="20:00"></App_Data>
<App_Data App="Audio" Name="Encoder" Value="PCM"></App_Data>
</Metadata>
</ADI>

Hope this helps,
Alberto

Postnext
tony lattucaSubject: simple explanation on XML and DTD
Author: tony lattuca
Date: 29 Jul 2004 11:41 AM
actually the XML is already written for me, I just copied the first
5 lines. When I have the XML and I don't associate the DTD to it,
I get validation errors, and I don't get a internet explorer preview.
But as soon as I associate the the DTD it works!(easy software)
validates perfectly and I also get an explorer preview.

So basically I never touch the DTD that's given to me,ust have to
associate with the XML I'm filling out.

Finally the last sentences of my XML lists a picture,(BMP) the picture
came with XML and DTD, I can view with other softwares, Shoouldn't I
be able to view it with the Explorer preview?

thanks again

Posttop
(Deleted User) Subject: Re: simple explanation on XML and DTD
Author: (Deleted User)
Date: 30 Jul 2004 01:05 PM
Hi Tony,

>Finally the last sentences of my XML lists a picture,(BMP) the picture
>came with XML and DTD, I can view with other softwares, Shoouldn't I
>be able to view it with the Explorer preview?

It depends on what is the preview doing; as you are saying that such a
preview doesn't work unless you associate the XML with the DTD, I guess you
are referring to browsing what you have submitted on the customer's web
site. In this case, it's up to who wrote the web server code to pick up the
name of the picture and build an HTML IMG tag.
You could also make a test by submitting a JPEG or PNG image, instead of a BMP.

Hope this helps,
Alberto



   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.