mirror of
https://github.com/servo/servo
synced 2026-05-02 20:32:02 +02:00
M1503 - Integrate XML parse -Initial Steps
This commit is contained in:
20
components/script/parse/xml.rs
Normal file
20
components/script/parse/xml.rs
Normal file
@@ -0,0 +1,20 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#![allow(unrooted_must_root)]
|
||||
|
||||
use dom::document::Document;
|
||||
use url::Url;
|
||||
use util::str::DOMString;
|
||||
|
||||
pub enum ParseContext {
|
||||
Owner(Option<i32>)
|
||||
}
|
||||
|
||||
|
||||
pub fn parse_xml(document: &Document,
|
||||
input: DOMString,
|
||||
url: Url,
|
||||
context: ParseContext) {
|
||||
}
|
||||
Reference in New Issue
Block a user