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)
-> - Proposal to Add Git Support to... (1)
-> + XML formatter option request (3)
-> - Could Pipeline input scenario ... (1)
-> + XML Traversal in XSLT Mapper (2)
-> + Email not in HTML as expected (3)
-> + My SS Open [tools]==>.[option... (3)
-> + Fonts in Stylus Studio (2)
-> - Fix the check for concurrent s... (1)
-> + Stylus is showing the error fo... (2)
-> - XML editor (1)
-> + Unable to see filename in sche... (2)
-> + Unable to connect to JVM (2)
-> - Stylus Studio forum questions (1)
-> + User Interface - X16 Enterpris... (2)
-> + Stylus Studio High DPI support (2)
-> + target xsd includes and import... (2)
-> + XML/EDIFACT Schema (3)
-> + Options to control whether BOM... (2)
-> + Snippets and/or Emmet integrat... (2)
-> + internal error accessing metho... (2)
-- [1-20] [21-40] [41-60] Next
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Dave SilviaSubject: document types for standard documents
Author: Dave Silvia
Date: 30 May 2007 02:11 PM
Originally Posted: 30 May 2007 02:08 PM
Hi!

I did a couple of searches and found nothing, so, if this is a repeat I apologize, I obviously didn't pick the right magic combination of words!;)

I'm curious to know why there are no standard document types for, say, html, xhtml, xdr, rdf, etc.? Something besides just the opening xml identifier? Also, I found no provision/option for including encoding in the xml identifier.

It would be nice if one could select, say, open an xhtml strict 1.0 document and get something of the form:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<p></p>
</body>
</html>

(the above is actually formatted with indentation, but the bb doesn't preserve it!:-< )

You know, the bare essentials to get one started? And similarly for other standard format documents.

Starting off every document that's xml derived with only:

<?xml version="1.0"?>

isn't really that much of a help.

thx,
Dave S.

Postnext
Jamil TaylorSubject: document types for standard documents
Author: Jamil Taylor
Date: 30 May 2007 04:31 PM
I considered making a suggestion along these lines awhile ago but decided it really was not needed for me. The reason for my decision was that the editor does allow me to quickly and easily create common elements and attributes. However, perhaps a user definable template mechanism would meet your needs and be a nice added feature. This would allow users to create templates that would automatically be the starting point for new documents.

Postnext
Dave SilviaSubject: document types for standard documents
Author: Dave Silvia
Date: 30 May 2007 07:43 PM
Originally Posted: 30 May 2007 07:38 PM
>I considered making a
>suggestion along these lines
>awhile ago but decided it
>really was not needed for me.
>The reason for my decision was
>that the editor does allow me
>to quickly and easily create
>common elements and
>attributes. However, perhaps a
>user definable template
>mechanism would meet your
>needs and be a nice added
>feature. This would allow
>users to create templates that
>would automatically be the
>starting point for new
>documents.

Hi!

Actually, I think both would be a better idea. I don't see where the current IDE will add a line like:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

The most I can see that it will add is:

<!DOCTYPE

And I have to type in the rest. And for a line like:

<html xmlns="http://www.w3.org/1999/xhtml">

I have to type in the whole thing.

These are standard documents with a standard opening section, so I really see no reason why the IDE cannot have them ready made for our use. A user shouldn't really have to make a template for such standard headings. But, being able to use such a standard, IDE supplied template to create one's own _more_ customized template would be great!;)

It would be a small, finite group of IDE supplied templates, perhaps, at most, say, 40 or 50. And many of these would fall into groups where the template might only differ in, say, the <!DOCTYPE ... > content, so, in reality a much smaller number of templates with IDE defined variables to fill in according to minor differences in type.

Most other WEB Document, [X]HTML, CSS, and XML IDE's have this feature, shouldn't:

"Just the best-darned XML IDE on the planet!"

have the same?

thx,
Dave S.

Posttop
Dave SilviaSubject: document types for standard documents
Author: Dave Silvia
Date: 30 May 2007 07:42 PM
Originally Posted: 30 May 2007 07:39 PM
Oops! due to a time lag in the network this got entered twice. I'm afraid to delete it because when I make that selection, it looks like it might delete the entire topic! Wouldn't want that!;)

thx,
Dave S.

   
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.